package com.qn.analyze.vo;

import com.qn.common.base.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Data
public class IpaddressMetricsQueryVo extends BaseEntity {

    @Schema(description = "统计类型 1、按日期 2、按小时 3、按分钟")
    @NotNull(message = "统计类型-不能为空")
    public Integer type;
    @Schema(description = "指标类型 1、访客 2、CKF 3、IP4 4、JA4")
    @NotNull(message = "统计类型-不能为空")
    public Integer metrics;
    @Schema(description = "域名")
    private String host;
    @Schema(description = "访问路径")
    private String path;
    @Schema(description =  "大洲")
    private String continent;
    @Schema(description =  "国家")
    private String country;
    @Schema(description =  "地区")
    private String region;
    @Schema(description =  "城市")
    private String city;
    @Schema(description = "开始日期")
    @NotNull(message = "开始日期-不能为空")
    private Date startTime;
    @Schema(description = "结束日期")
    @NotNull(message = "结束日期-不能为空")
    private Date endTime;
}
